<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$smarty.cookies.CurrantLanguage}" lang="{$smarty.cookies.CurrantLanguage}">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>{$title}</title>
        <link rel="stylesheet" rev="stylesheet" type="text/css" href="css/main.css" />
        <link rel="stylesheet" href="modules/jquery ui/css/start/jquery-ui-1.8.11.custom.css" type="text/css" />
        <script type="text/javascript" src="modules/jquery-1.6.1.min.js"></script>
        <script type="text/javascript" src="modules/jquery ui/js/jquery-ui-1.8.11.custom.min.js"></script>
        <script type="text/javascript" src="javascripts/helper.js"></script>
        <script type="text/javascript" src="resources/{$smarty.cookies.CurrantLanguage}.json"></script>
        {if !$smarty.session.user}
            <link rel="stylesheet" type="text/css" href="css/signin.css" />
            <script type="text/javascript" src="javascripts/user.js"></script>
        {else}             
            {if $smarty.get.type == 'form'}
                <link rel="stylesheet" type="text/css" href="css/form.css" />
                <link rel="stylesheet" href="modules/uploadify/uploadify.css" type="text/css" />
                <script type="text/javascript" src="javascripts/tinyMce.js"></script>
                <script type="text/javascript" src="javascripts/file.js"></script>
                <script type="text/javascript" src="javascripts/multiselect.js"></script>
                <script type="text/javascript" src="modules/tiny_mce/jquery.tinymce.js"></script>
                <script type="text/javascript" src="modules/uploadify/jquery.uploadify.v2.1.0.min.js"></script>
                <script type="text/javascript" src="modules/uploadify/swfobject.js"></script>
                <script type="text/javascript" src="javascripts/form.js"></script>
            {else}
                <link rel="stylesheet" type="text/css" href="css/table.css" />
                <link rel="stylesheet" type="text/css" href="css/menu.css" />
                <script type="text/javascript" src="modules/jquery.tablednd.v0.5.min.js"></script>
                <script type="text/javascript" src="javascripts/table.js"></script>
            {/if}            
        {/if}
    </head>
    <body>
        <div id="baseDiv">            